import random
count=1
for dog in [0,1]:
    for bun in [0,1]:
        for ketchup in [0,1]:
            for mustard in [0,1]:
                for onion in [0,1]:
                    print (dog,bun,ketchup,mustard,onion)
                    count=count+1